<?php defined('IN_IA') or exit('Access Denied');?><div id="sidebar">
    <ul style="display: block;">
        <!-- <li class="<?php  echo active(true)?>">
            <a href="<?php  echo url('home/welcome/ext', ['m'=>MNAME])?>"><i class="fa fa-home"></i><span>首页</span></a>
        </li> -->
        <li class="<?php  echo active('active')?>">
            <a href="<?php  echo aurl(false, 'active')?>"><i class="fa fa-th"></i><span>活动管理</span></a>
        </li>
        <li class="<?php  echo active('cate')?>">
            <a href="<?php  echo aurl(false, 'cate')?>"><i class="fa fa-caret-square-right"></i><span>活动分类管理</span></a>
        </li>
        <li class="<?php  echo active('industry')?>">
            <a href="<?php  echo aurl(false, 'industry')?>"><i class="fa fa-flag"></i><span>行业管理</span></a>
        </li>
        <li class="<?php  echo active('service')?>">
            <a href="<?php  echo aurl(false, 'service')?>"><i class="fa fa-user"></i><span>客服管理</span></a>
        </li>
        <li class="<?php  echo active('order')?>">
            <a href="<?php  echo aurl(false, 'order')?>"><i class="fa fa-outdent"></i><span>订单管理</span></a>
        </li>
        <li class="submenu <?php  echo active(['mch','apply','ticket','firstapply'], true)?>">
            <a href="javascript:;"><i class="fa fa-credit-card"></i><span>商家管理</span><span class="guide"></span></a>
            <ul>
                <li class="<?php  echo active('mch')?>"><a href="<?php  echo aurl(false, 'mch')?>"><span>商家列表</span></a></li>
                <li class="<?php  echo active('firstapply')?>"><a href="<?php  echo aurl(false, 'firstapply')?>"><span>打回列表</span></a></li>
                <li class="<?php  echo active('apply')?>"><a href="<?php  echo aurl(false, 'apply')?>"><span>商家加盟申请</span></a></li>
                <li class="<?php  echo active('ticket')?>"><a href="<?php  echo aurl(false, 'ticket')?>"><span>卡券管理</span></a></li>
            </ul>
        </li>
        <!-- <li class="submenu <?php  echo active(['charge','refill'], true)?>">
            <a href="javascript:;"><i class="fa fa-credit-card"></i><span>充值管理</span><span class="label label-important">2</span></a>
            <ul>
                <li class="<?php  echo active('charge')?>"><a href="<?php  echo aurl(false, 'charge')?>"><span>充值记录</span></a></li>
                <li class="<?php  echo active('refill')?>"><a href="<?php  echo aurl(false, 'refill')?>"><span>充值金额设置</span></a></li>
            </ul>
        </li> -->
        <li class="<?php  echo active('transfers')?>">
            <a href="<?php  echo aurl(false, 'transfers')?>"><i class="fa fa-tint"></i><span>平台返利记录</span></a>
        </li>
        
        <li class="<?php  echo active('ticketUser')?>">
            <a href="<?php  echo aurl(false, 'ticketUser')?>"><i class="fa fa-credit-card"></i><span>用户领券记录</span></a>
        </li>
        <li class="<?php  echo active('views')?>">
            <a href="<?php  echo aurl(false, 'views')?>"><i class="fa fa-street-view"></i><span>浏览时长记录</span></a>
        </li>
        <li class="<?php  echo active('signin')?>">
            <a href="<?php  echo aurl(false, 'signin')?>"><i class="fa fa-lightbulb"></i><span>分享点亮奖励记录</span></a>
        </li>
        <li class="<?php  echo active('cav')?>">
            <a href="<?php  echo aurl(false, 'cav')?>"><i class="fa fa-archive"></i><span>核销记录</span></a>
        </li>
        <!-- <li class="<?php  echo active('log')?>">
            <a href="<?php  echo aurl(false, 'log')?>"><i class="fa fa-exclamation-circle"></i><span>操作日志</span></a>
        </li> -->
        <li class="<?php  echo active('transaction')?>">
            <a href="<?php  echo aurl(false, 'transaction')?>"><i class="fa fa-wechat"></i><span>微信支付订单查询</span></a>
        </li>
        <?php  if(!UNI_BRIDLE) { ?>
        <li class="<?php  echo active('help')?>">
            <a href="<?php  echo aurl(false, 'help')?>"><i class="fa fa-question"></i><span>帮助说明</span></a>
        </li>
        <?php  } else if(!$_W['clerk']) { ?>
        <li class="<?php  echo active('Statistic')?>">
            <a href="<?php  echo aurl(false, 'Statistic')?>"><i class="fa fa-archive"></i><span>统计数据记录</span></a>
        </li>
        <li class="<?php  echo active('Log')?>">
            <a href="<?php  echo aurl(false, 'Log')?>"><i class="fa fa-file"></i><span>操作日志</span></a>
        </li>
        <?php  } ?>
        <li class="<?php  echo active('config')?>">
            <a href="<?php  echo aurl(false, 'config')?>"><i class="fa fa-cog"></i><span>模块设置</span></a>
        </li>
    </ul>
</div>